/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.hd4ic.algorithm.base;

/**
 * @author morfant
 */
public class HDValue {

    private int x;
    private int y;
    private int n;
    private int m;
    private double hdValue;
    private String inputImageName = "";
    private String templateImageName = "";

    public HDValue(int x, int y,  int n, int m, double hdValue) {
        this.hdValue = hdValue;
        this.m = m;
        this.n = n;
        this.x = x;
        this.y = y;
    }

    public HDValue(int x, int y, int n, int m, double hdValue, String inputImageName, String templateImageName) {
        this.x = x;
        this.y = y;
        this.n = n;
        this.m = m;
        this.hdValue = hdValue;
        this.inputImageName = inputImageName;
        this.templateImageName = templateImageName;
    }

    public double getHdValue() {
        return hdValue;
    }

    public int getM() {
        return m;
    }


    public int getN() {
        return n;
    }


    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }

    public String getInputImageName() {
        return inputImageName;
    }

    public String getTemplateImageName() {
        return templateImageName;
    }

    public void setTemplateImageName(String templateImageName) {
        this.templateImageName = templateImageName;
    }

    public void setInputImageName(String inputImageName) {
        this.inputImageName = inputImageName;
    }

    @Override
    public String toString() {
        return "[HDValue{"
                + "input image (x, y)=(" + x + ", " + y + "), "
                + "template image (x, y) =" + n + ", " + m + ")}= "
                + hdValue + "]";
    }


}
